import request from '@/api/request'

export default {

	//企业库列表
	getEnterpriseList: data => {
		return request({
			data,
			url: '/firm/list'
		})
	},

	//企业详情
	getEnterpriseInfo: data => {
		return request({
			data,
			url: '/firm/info'
		})
	},

	//企业类型
	getEnterpriseType: data => {
		return request({
			data,
			url: '/firm/types'
		})
	},
	
	//企业认证
	enterpriseAuth: data => {
		return request({
			data,
			url: '/firm/firmCertifies'
		})
	},

	//员工认证
	employeeAuth: data => {
		return request({
			data,
			url: '/firm/employeeCertifies'
		})
	},

	//获取认证信息
	getAuthInfo: data => {
		return request({
			data,
			url: '/firm/getCertifies'
		})
	},

	//更新企业信息
	updateEnterpriseInfo: data => {
		return request({
			data,
			url: '/firm/toUpdate'
		})
	},

	//更新企业信息
	enterpriseNews: data => {
		return request({
			data,
			url: '/firm/dynamicState'
		})
	},

	//我的员工
	employee: data => {
		return request({
			data,
			url: '/member/employeeList'
		})
	},




	//申请店铺
	applyStore: data => {
		return request({
			data,
			url: '/shop/openApply'
		})
	},

	//查询店铺开通状态
	checkStoreStatus: data => {
		return request({
			data,
			url: '/shop/checkStatus'
		})
	},

	//店铺列表
	storeList: data => {
		return request({
			data,
			url: '/shop/list'
		})
	},

	//店铺详情
	storeInfo: data => {
		return request({
			data,
			url: '/shop/info'
		})
	},

	//店铺轮播
	storeBanner: data => {
		return request({
			data,
			url: '/shop/banner'
		})
	},

}
